<html lang="en">
    <head>
        <meta charset="UTF-8">
        <title>Title</title>
    </head>
    <body>
        <?php
        $Math = 80;
        $Html = 90;
        $Javascript = 70;
        $Ave = ($Math+$Html+$Javascript)/3;
        
        
        define('PI', 3.14);
        define('DRPAIH','c:/wamp/www/');
        echo DRPAIH."ehh/index2.php";
        const pi01 = 3.1415;
        echo pi01;
        ?>
        <table>
            <tr>
                <th>课程</th>
                <th>分数</th>
            </tr>
            <tr>
                <td>Math</td>
                <td><?php echo $Math; ?></td>
            </tr>
            <tr>
                <td>Html</td>
                <td><?php echo $Html; ?></td>
            </tr>
            <tr>
                <td>Javascript</td>
                <td><?php echo $Javascript; ?></td>
            </tr>
            <tr>
                <td>平均分</td>
                <td><?php echo $Ave; ?></td>
            </tr>
        </table>
    </body>
</html>
